home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
misc
/
sci
/
eliza.lha
/
Eliza.doc
< prev
next >
Wrap
Text File
|
1993-06-07
|
4KB
|
110 lines
Eliza - A classic Artificial Intelligence therapist
Creative Computing
Morristown, New Jersey
Converted in Basic for the IBM PC by Patricia Danielson and Paul Hashfield
Converted from Basic to C for any computer by James Williams
What is Eliza?
^^^^^^^^^^^^^^
Eliza is an electronic therapist. If you have anything you would
like to get off your mind, just talk to Eliza. Eliza will lend a
sympathetic ear and listen to what you have to say. There's not
really much more to say. Perhaps a sample session will make things
a little clearer.
Sample Session
^^^^^^^^^^^^^^
HI! I'M ELIZA. WHAT'S YOUR PROBLEM?
> I want to know the meaning of life
WHAT WOULD IT MEAN TO YOU IF YOU GOT TO KNOW THE MEANING OF LIFE
> It would mean a great deal
WHAT DOES THAT SUGGEST TO YOU?
> The meaning of life is a very important subject for me
I SEE.
> Have you ever wondered about the meaning of life?
WE WERE DISCUSSING YOU--NOT ME.
> Sorry
PLEASE DON'T APOLOGIZE!
> So, do you know the meaning of life?
OH, I KNOW THE MEANING OF LIFE
> Then what is it
WHY DO YOU ASK?
> I would like to know the answer
I'M NOT SURE I UNDERSTAND YOU FULLY.
> I want to know the meaning of life
WHY DO YOU WANT TO KNOW THE MEANING OF LIFE
> It's something that has been on my mind for a while
COME COME ELUCIDATE YOUR THOUGHTS.
> The meaning of life could put my mind at rest
CAN YOU ELABORATE ON THAT?
> I feel I could relax more if I didn't spend so much time on that question
DO YOU OFTEN FEEL YOU COULD RELAX MORE IF YOU DIDN'T SPEND SO MUCH TIME ON
THAT QUESTION
> Yes I do
ARE YOU SURE?
> I am
DID YOU COME TO ME BECAUSE YOU ARE
> No.
ARE YOU SAYING NO JUST TO BE NEGATIVE?
> I just need to know the meaning of life
THAT IS QUITE INTERESTING.
> You said you know it
YOU'RE NOT REALLY TALKING ABOUT ME, ARE YOU?
> yes
I SEE.
> So can you tell me
DON'T YOU BELIEVE THAT I CAN TELL YOU
> Only if you really know the answer
WE WERE DISCUSSING YOU--NOT ME.
> Shut up
O.K. IF YOU FEEL THAT WAY I'LL SHUT UP....
Notes
^^^^^
You may have noticed in the above example that the phrase "shut
up" was used to end the session. This is the normal way of ending
a session (along with break, kill, etc signals, and turning off
the computer).
You will usually get the best answers from Eliza if you limit your
responses to a single thought. Try to keep you input a single
sentence. In fact, you shouldn't even use commas if you can avoid
them. Usage of multiple sentences and complex sentences is
allowed, but you tend to get more understandable responses from
Eliza without them.
I have included both my source (eliza.c) and the source I ported
it from (eliza.bas). Actually, the BASIC version was loaded with
bugs and limitations. I took care of what I could find. I also
made the code a little easier to understand. You are free to
distribute these, but if you make any changes, make a note of it
in the copyright information and the documentation. Also, you must
distribute the source and documentation together. The executable
is optional. See the file 'COPYING' for more information on the
GNU Public License.
Since Eliza is a classic program, you can probably find more
information about it at your local library. Get a book on
artificial intelligence and look up Eliza in the index.
Contacting the author (porter, or whatever)
^^^^^^^^^^^^^^^^^^^^^
smail: James Williams
209 Thomas
Weston, MO 64098
email: (preferred) williamj@griffon.mwsc.edu
(good only until May 1996)
web: http://www.mwsc.edu/~williamj
(also good only until May 1996)
psychic: channel 488573 (heheh - just kidding)
So what will my email address be after May 1996? I don't know, but
I'll be out there somewhere. Maybe I can talk the computer center
into leaving a forwarding address on my web page. Only time will
tell.